var gameEnum = require("GameEnum");
cc.Class({
    extends: cc.Component,
    properties: {
        pointX:0,
        pointY:0,
        pointZ:0,
        localX:0,
        localY:0,
        localZ:0,
        dir: 0,
    },

    onLoad: function () {
        this.init();
    },
    ///由GameView调用控制  初始化角色数据默认值
    init:function() {
        this.pointX = this.node.x;
        this.pointY = this.node.y;
        this.dir = gameEnum.DirEnum.DIR_RIGHT;
    },
    update: function (dt) {
        
    },
});

